package ylg.cn.com.newdemo.module.news;

import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.Toolbar;

import java.util.List;

import butterknife.BindView;
import ylg.cn.com.newdemo.R;
import ylg.cn.com.newdemo.local.NewsTypeInfo;
import ylg.cn.com.newdemo.module.base.BaseFragment;
import ylg.cn.com.newdemo.module.base.IRxBusPresenter;
import ylg.cn.com.newdemo.module.home.INewsMainView;

/**
 * Created by Administrator on 2017/11/25.
 */

public class NewsMainFragment extends BaseFragment<IRxBusPresenter> implements INewsMainView {
    @BindView(R.id.tool_bar)
    Toolbar mToolBar;
    @BindView(R.id.tab_layout)
    TabLayout mTabLayout;
    @BindView(R.id.view_pager)
    ViewPager mViewPager;


    @Override
    protected int attachLayoutRes() {
        return R.layout.fragment_news_main;
    }

    @Override
    protected void initInjector() {

    }

    @Override
    protected void initViews() {
        setHasOptionsMenu(true);


    }

    @Override
    protected void updateViews(boolean isRefresh) {

    }

    @Override
    public void loadData(List<NewsTypeInfo> checkList) {

    }

}
